Intraocular caliper-assisted capsulotomy